import { createRouter, createWebHashHistory } from 'vue-router'
import generatedRoutes from '~pages'
import { setupLayouts } from 'virtual:generated-layouts'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  
  routes: setupLayouts(generatedRoutes).concat([
    {
      path: '/',
      name: 'home',
      redirect:"HomeView"
    }
  ]),

})

export default router
